import java.util.Scanner;

//如果李三不还钱，则老韩将一直使出五连鞭，知道李三还钱为止
// [System.out.println("老韩问：还钱吗？y/n")] do..while
public class DoWhileExercise02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        do {
            System.out.println("还钱吗？y/n");
            char answer = scanner.next().charAt(0);
            if (answer == 'y') {
                break;
            }
        }while (true);
    }
}
